

#include <stdio.h>
#include <stdlib.h>

int main (){
int *a = NULL;
int *b = NULL;

 a = malloc(3*sizeof(int));
 a[0] = 1;
 a[1] = 2;
 a[2] = 3;
 printf("%d %d %d\n",a[0], a[1], a[2]);
 free(a);
 a = malloc(2*sizeof(int));
 a[0] = 4;
 a[1] = 5;
 printf ("%d %d\n", a[0], a[1]); 
 free(a);
return 0;
}
